package cate.common.table.pvp.ladder;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class LadderRefreshRow extends ERow {

    @NoteField("排名开始")
    public int begin;

    @NoteField("排名结束")
    public int end;

    @NoteField("衰减范围")
    public int step;

    @NoteField("衰减次数")
    public int limit;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.begin = xrw.getInteger("排名开始");
        this.end = xrw.getInteger("排名结束");
        this.step = xrw.getInteger("衰减范围");
        this.limit = xrw.getInteger("衰减次数");
    }
}
